home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / eulisp / you-075a.lha / you-075a / garbage.h < prev    next >
C/C++ Source or Header  |  1992-06-18  |  865b  |  29 lines

  1. /* ******************************************************************** */
  2. /*  garbage.h        Copyright (C) Codemist and University of Bath 1989 */
  3. /*                                                                      */
  4. /* Garbage colection module prototypes                                    */
  5. /* ******************************************************************** */
  6.  
  7. /*
  8.  * Change Log:
  9.  *   Version 1, December 1989
  10.  */
  11.  
  12. #ifndef GARBAGE_H
  13. #define GARBAGE_H
  14.  
  15. #define GC_FAILED (-1)
  16.  
  17. extern void initialise_garbage(LispObject*);
  18. extern void runtime_initialise_garbage_collector(LispObject*);
  19. extern void ON_collect(void);
  20. extern void OFF_collect(void);
  21. extern int garbage_collect(LispObject *);
  22.  
  23. extern SYSTEM_GLOBAL(int,GC_register);
  24. extern SYSTEM_GLOBAL(LispObject **,GC_static_protect_stack);
  25. extern SYSTEM_GLOBAL(int,GC_static_protect_stack_ptr);
  26.  
  27.  
  28. #endif
  29.